import json
import hashlib

def verify_policy_update(updated_policy_json, expected_hash):
    """
    验证策略更新
    :param updated_policy_json: 更新后的策略JSON
    :param expected_hash: 预期的哈希值
    :return: 是否验证通过
    """
    updated_hash = hashlib.sha256(updated_policy_json.encode()).hexdigest()
    return updated_hash == expected_hash

# 示例
updated_policy_json = json.dumps(updated_policy)
expected_hash = hashlib.sha256(updated_policy_json.encode()).hexdigest()
is_verified = verify_policy_update(updated_policy_json, expected_hash)
print(f"Policy update verified: {is_verified}")